package com.yowasa.xiuxian.engine.battle.buff;

import com.yowasa.xiuxian.annoations.Buff;
import com.yowasa.xiuxian.entity.bo.battle.BuffContent;
import com.yowasa.xiuxian.entity.bo.battle.TempUserBattle;


@Buff(name = "藏刀")
public class CangDaoBuff implements BuffInterface {

    @Override
    public void effectBattleInfo(BuffContent content, TempUserBattle userBattle) {
        userBattle.setRes(userBattle.getRes() * 2);
        userBattle.setDef(userBattle.getDef() * 2);
        userBattle.setAtk((int) (userBattle.getAtk() * 0.4));

    }


}
